<HTML>
<HEAD>
<meta charset="UTF-8">
<title>MarvelRepository - core</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">core</a>&nbsp;/&nbsp;<a href="../index.html">com.vmadalin.core.network.repositiories</a>&nbsp;/&nbsp;<a href="./index.html">MarvelRepository</a><br/>
<br/>
<h1>MarvelRepository</h1>
<code><span class="keyword">class </span><span class="identifier">MarvelRepository</span></code>
<p>Repository module for handling marvel API network operations <a href="../../com.vmadalin.core.network.services/-marvel-service/index.html">MarvelService</a>.</p>
<h3>Constructors</h3>
<table>
<tbody>
<tr>
<td>
<h4><a href="-init-.html">&lt;init&gt;</a></h4>
</td>
<td>
<p>Repository module for handling marvel API network operations <a href="../../com.vmadalin.core.network.services/-marvel-service/index.html">MarvelService</a>.</p>
<code><span class="identifier">MarvelRepository</span><span class="symbol">(</span><span class="identifier" id="com.vmadalin.core.network.repositiories.MarvelRepository$<init>(com.vmadalin.core.network.services.MarvelService)/service">service</span><span class="symbol">:</span>&nbsp;<a href="../../com.vmadalin.core.network.services/-marvel-service/index.html"><span class="identifier">MarvelService</span></a><span class="symbol">)</span></code></td>
</tr>
</tbody>
</table>
<h3>Functions</h3>
<table>
<tbody>
<tr>
<td>
<h4><a href="get-character.html">getCharacter</a></h4>
</td>
<td>
<p>Get all info of Marvel character.</p>
<code><span class="keyword">suspend</span> <span class="keyword">fun </span><span class="identifier">getCharacter</span><span class="symbol">(</span><span class="identifier" id="com.vmadalin.core.network.repositiories.MarvelRepository$getCharacter(kotlin.Long)/id">id</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html"><span class="identifier">Long</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../com.vmadalin.core.network.responses/-base-response/index.html"><span class="identifier">BaseResponse</span></a><span class="symbol">&lt;</span><a href="../../com.vmadalin.core.network.responses/-character-response/index.html"><span class="identifier">CharacterResponse</span></a><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<h4><a href="get-characters.html">getCharacters</a></h4>
</td>
<td>
<p>Get all Marvel characters by paged.</p>
<code><span class="keyword">suspend</span> <span class="keyword">fun </span><span class="identifier">getCharacters</span><span class="symbol">(</span><span class="identifier" id="com.vmadalin.core.network.repositiories.MarvelRepository$getCharacters(kotlin.Int, kotlin.Int)/offset">offset</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">, </span><span class="identifier" id="com.vmadalin.core.network.repositiories.MarvelRepository$getCharacters(kotlin.Int, kotlin.Int)/limit">limit</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../com.vmadalin.core.network.responses/-base-response/index.html"><span class="identifier">BaseResponse</span></a><span class="symbol">&lt;</span><a href="../../com.vmadalin.core.network.responses/-character-response/index.html"><span class="identifier">CharacterResponse</span></a><span class="symbol">&gt;</span></code></td>
</tr>
</tbody>
</table>
</BODY>
</HTML>
